package com.codebo.homiematchbackend.controller;

import com.codebo.homiematchbackend.common.BaseResponse;
import com.codebo.homiematchbackend.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.Arrays;

@RequestMapping("/health")
@RestController
public class HealthController
{
    @GetMapping
    public BaseResponse<ArrayList> health()
    {
        ArrayList list = new ArrayList<>();
        list.add("healthy");
        return ResultUtils.success(list);
    }
}
